package mylab.base.foundation.template.entity;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = false)
public abstract class UuidEntity extends Entity<String> {



    /**
     * 自动生成不含中划线的 UUID 作为主键
     */
    @EqualsAndHashCode.Include
    protected String id;


}
